package com.time.auth.domain.convent;

import com.time.auth.domain.entity.AuthUserBO;
import com.time.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 普通用户BO转换类
 *
 * @author: HuangQi
 * @date: Created in 11:09 2025/9/29
 * @description: 普通用户BO转换类
 */
@Mapper
public interface AuthUserBOConverter {

    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser convertBOToEntity(AuthUserBO authUserBO);

    AuthUserBO convertEntityToBO(AuthUser authUser);
}
